package dao.impl;

import dao.PetDao;
import entity.Pet;
import org.springframework.stereotype.Repository;

@Repository("petDaoOracle")
public class PetDaoOracleIImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        // 此处模拟插入数据,简化操作说明问题
        System.out.println("将宠物“"+pet.getPetName()+"”插入到Oracle数据库");
        return 1;
    }
}
